import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false

App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()

// import uView from 'uview-ui'
// app.use(uView)
// Vue.use(uView)

// import uView from 'uview-ui'
// import 'uview-ui/dist/index.css'
// const app = createApp(App)
// app.use(uView)
// Vue.use(uView)


// 接口
// import * as Api from './config/api.js'
// Vue.prototype.$api = Api

// import * as Common from './config/commons.js'
// import * as Db from './config/db.js'
// import * as Config from './config/config.js'
// import * as DictData from './config/dictData.js'
// import store from './store'
// Vue.prototype.$common = Common;
// Vue.prototype.$db = Db;
// Vue.prototype.$config = Config;
// Vue.prototype.$dict = DictData;
// Vue.prototype.$store = store;

// let auths = require('@/utils/auths.js');
// Vue.mixin(auths);
// #endif



// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif

